﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="frm_GridEsqPlanta.aspx.cs" Inherits="SICON_INT.PaginasWebs.frm_GridEsqPlanta" %>

<!DOCTYPE html>

<html> 
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
    <title></title>
    <link href="../../../Recursos/HojasEstilo/Sicon.css" rel="stylesheet" type="text/css" />
    <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet"/>
    <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-glyphicons.css" rel="stylesheet"/>
    <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet"/>
    <%--<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Open Sans:300,400,500,700"/>--%>
    <link rel="shortcut icon" type="image/x-icon" href="~/Recursos/Imagenes/sicon.png"/>
    <script type="text/javascript">
        function Alerta_Eliminar() {
            var respuesta = confirm("¿Desea eliminar <%=seleccion%>?");
            if (respuesta == true) {
                return true;
            }
            else {
                return false;
            }
        }
    </script>
</head>
<body>
    <form id="form2" runat="server" class =" form-horizontal">
    <div class =" container">
        <div class="page-header">
            <h1>Mantenimiento de esquemas de plantas</h1>
        </div>
        <div class="lead">
                <asp:ImageButton ID="btnShowAgregar" runat="server" CssClass="btn btn-default" ImageUrl="~/Recursos/Imagenes/glyphicons_432_plus.png" OnClick="btnShowAgregar_Click" />
                <asp:ImageButton ID="btnShowEditar" runat="server" CssClass="btn btn-default" ImageUrl="~/Recursos/Imagenes/glyphicons_150_edit.png" OnClick="btnShowEditar_Click" />
                <asp:ImageButton ID="btnShowEliminar" runat="server" CssClass="btn btn-default" ImageUrl="~/Recursos/Imagenes/glyphicons_207_remove_2.png" OnClick="btnShowEliminar_Click" OnClientClick="return Alerta_Eliminar()" />
        </div>
        <div class="alert alert-info alert-dismissable">
            <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
             <strong> <%=mensaje+"&nbsp"%></strong>
        </div>
        <div class="table-responsive">
            <asp:GridView ID="gvEsqPlanta" runat="server" CssClass="table table-bordered table-condensed table-hover" OnSelectedIndexChanged="gvEsqPlanta_SelectedIndexChanged" AllowPaging="true" pagesize ="6" OnPageIndexChanging="gvEsqPlanta_PageIndexChanging" >
                <Columns>
                    <asp:CommandField ButtonType="Image" ShowSelectButton="True" SelectImageUrl="~/Recursos/Imagenes/glyphicons_217_circle_arrow_right.png" />
                </Columns>
            </asp:GridView>
        </div>
    </div>
    </form>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
    <script src="../../../Scripts/jquery-1.9.1.js"></script>
    <script src="../../../Scripts/bootstrap.min.js"></script>
</body>
</html>
